package com.xing.oauth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xing.oauth.domain.LightUser;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

/**
* @Entity com.xing.oauth.domain.LightUser
*/
public interface LightUserMapper extends BaseMapper<LightUser> {


    @Select("select * from light_user where client_id=#{clientId}")
    @ResultMap(value = "BaseResultMap")
    LightUser findByClientId(String clientId);
}
